package list.p2_carddemo;

import java.util.List;

public class Test {

    public static void main(String[] args) {
        CardDemo cd = new CardDemo();
        List<Card> cards = cd.buyCard();
        cd.shuffle(cards);
        System.out.println(cards);
        List<List<Card>> player = cd.play(cards);
        for (int i = 0; i < player.size(); i++) {
            System.out.println("玩家" + (i + 1) + ": " + player.get(i));
        }
    }
}
